home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / perl / mac-perl / gs_102st.bin / GUSI / Headers / sys_ioctl_compat.h < prev    next >
MacBinary  |  1991-10-10  |  6.5 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Thu Oct 10 15:57:23 1991, modified Thu Oct 10 15:57:23 1991, creator 'MPS ', type ASCII, 5973 bytes "sys_ioctl_compat.h" , at 0x17d5 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 73 79 73 5f 69 6f | 63 74 6c 5f 63 6f 6d 70 |..sys_io|ctl_comp|
|00000010| 61 74 2e 68 00 00 00 00 | 00 00 00 00 00 00 00 00 |at.h....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 17 55 00 | 00 01 ac a5 1a 61 23 a5 |......U.|.....a#.|
|00000060| 1a 61 23 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.a#.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ad ee 00 00 |........|........|
|00000080| 2f 2a 0d 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00000090| 28 63 29 20 31 39 39 30 | 20 54 68 65 20 52 65 67 |(c) 1990| The Reg|
|000000a0| 65 6e 74 73 20 6f 66 20 | 74 68 65 20 55 6e 69 76 |ents of |the Univ|
|000000b0| 65 72 73 69 74 79 20 6f | 66 20 43 61 6c 69 66 6f |ersity o|f Califo|
|000000c0| 72 6e 69 61 2e 0d 20 2a | 20 41 6c 6c 20 72 69 67 |rnia.. *| All rig|
|000000d0| 68 74 73 20 72 65 73 65 | 72 76 65 64 2e 0d 20 2a |hts rese|rved.. *|
|000000e0| 0d 20 2a 20 52 65 64 69 | 73 74 72 69 62 75 74 69 |. * Redi|stributi|
|000000f0| 6f 6e 20 69 73 20 6f 6e | 6c 79 20 70 65 72 6d 69 |on is on|ly permi|
|00000100| 74 74 65 64 20 75 6e 74 | 69 6c 20 6f 6e 65 20 79 |tted unt|il one y|
|00000110| 65 61 72 20 61 66 74 65 | 72 20 74 68 65 20 66 69 |ear afte|r the fi|
|00000120| 72 73 74 20 73 68 69 70 | 6d 65 6e 74 0d 20 2a 20 |rst ship|ment. * |
|00000130| 6f 66 20 34 2e 34 42 53 | 44 20 62 79 20 74 68 65 |of 4.4BS|D by the|
|00000140| 20 52 65 67 65 6e 74 73 | 2e 20 20 4f 74 68 65 72 | Regents|. Other|
|00000150| 77 69 73 65 2c 20 72 65 | 64 69 73 74 72 69 62 75 |wise, re|distribu|
|00000160| 74 69 6f 6e 20 61 6e 64 | 20 75 73 65 20 69 6e 20 |tion and| use in |
|00000170| 73 6f 75 72 63 65 20 61 | 6e 64 0d 20 2a 20 62 69 |source a|nd. * bi|
|00000180| 6e 61 72 79 20 66 6f 72 | 6d 73 20 61 72 65 20 70 |nary for|ms are p|
|00000190| 65 72 6d 69 74 74 65 64 | 20 70 72 6f 76 69 64 65 |ermitted| provide|
|000001a0| 64 20 74 68 61 74 3a 20 | 28 31 29 20 73 6f 75 72 |d that: |(1) sour|
|000001b0| 63 65 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 73 |ce distr|ibutions|
|000001c0| 20 72 65 74 61 69 6e 0d | 20 2a 20 74 68 69 73 20 | retain.| * this |
|000001d0| 65 6e 74 69 72 65 20 63 | 6f 70 79 72 69 67 68 74 |entire c|opyright|
|000001e0| 20 6e 6f 74 69 63 65 20 | 61 6e 64 20 63 6f 6d 6d | notice |and comm|
|000001f0| 65 6e 74 2c 20 61 6e 64 | 20 28 32 29 20 64 69 73 |ent, and| (2) dis|
|00000200| 74 72 69 62 75 74 69 6f | 6e 73 20 69 6e 63 6c 75 |tributio|ns inclu|
|00000210| 64 69 6e 67 0d 20 2a 20 | 62 69 6e 61 72 69 65 73 |ding. * |binaries|
|00000220| 20 64 69 73 70 6c 61 79 | 20 74 68 65 20 66 6f 6c | display| the fol|
|00000230| 6c 6f 77 69 6e 67 20 61 | 63 6b 6e 6f 77 6c 65 64 |lowing a|cknowled|
|00000240| 67 65 6d 65 6e 74 3a 20 | 20 54 68 69 73 20 70 72 |gement: | This pr|
|00000250| 6f 64 75 63 74 20 69 6e | 63 6c 75 64 65 73 0d 20 |oduct in|cludes. |
|00000260| 2a 20 73 6f 66 74 77 61 | 72 65 20 64 65 76 65 6c |* softwa|re devel|
|00000270| 6f 70 65 64 20 62 79 20 | 74 68 65 20 55 6e 69 76 |oped by |the Univ|
|00000280| 65 72 73 69 74 79 20 6f | 66 20 43 61 6c 69 66 6f |ersity o|f Califo|
|00000290| 72 6e 69 61 2c 20 42 65 | 72 6b 65 6c 65 79 20 61 |rnia, Be|rkeley a|
|000002a0| 6e 64 20 69 74 73 0d 20 | 2a 20 63 6f 6e 74 72 69 |nd its. |* contri|
|000002b0| 62 75 74 6f 72 73 27 27 | 20 69 6e 20 74 68 65 20 |butors''| in the |
|000002c0| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 6f 72 |document|ation or|
|000002d0| 20 6f 74 68 65 72 20 6d | 61 74 65 72 69 61 6c 73 | other m|aterials|
|000002e0| 20 70 72 6f 76 69 64 65 | 64 20 77 69 74 68 20 74 | provide|d with t|
|000002f0| 68 65 0d 20 2a 20 64 69 | 73 74 72 69 62 75 74 69 |he. * di|stributi|
|00000300| 6f 6e 20 61 6e 64 20 69 | 6e 20 61 6c 6c 20 61 64 |on and i|n all ad|
|00000310| 76 65 72 74 69 73 69 6e | 67 20 6d 61 74 65 72 69 |vertisin|g materi|
|00000320| 61 6c 73 20 6d 65 6e 74 | 69 6f 6e 69 6e 67 20 66 |als ment|ioning f|
|00000330| 65 61 74 75 72 65 73 20 | 6f 72 20 75 73 65 0d 20 |eatures |or use. |
|00000340| 2a 20 6f 66 20 74 68 69 | 73 20 73 6f 66 74 77 61 |* of thi|s softwa|
|00000350| 72 65 2e 20 20 4e 65 69 | 74 68 65 72 20 74 68 65 |re. Nei|ther the|
|00000360| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 55 6e 69 | name of| the Uni|
|00000370| 76 65 72 73 69 74 79 20 | 6e 6f 72 20 74 68 65 20 |versity |nor the |
|00000380| 6e 61 6d 65 73 20 6f 66 | 0d 20 2a 20 69 74 73 20 |names of|. * its |
|00000390| 63 6f 6e 74 72 69 62 75 | 74 6f 72 73 20 6d 61 79 |contribu|tors may|
|000003a0| 20 62 65 20 75 73 65 64 | 20 74 6f 20 65 6e 64 6f | be used| to endo|
|000003b0| 72 73 65 20 6f 72 20 70 | 72 6f 6d 6f 74 65 20 70 |rse or p|romote p|
|000003c0| 72 6f 64 75 63 74 73 20 | 64 65 72 69 76 65 64 20 |roducts |derived |
|000003d0| 66 72 6f 6d 0d 20 2a 20 | 74 68 69 73 20 73 6f 66 |from. * |this sof|
|000003e0| 74 77 61 72 65 20 77 69 | 74 68 6f 75 74 20 73 70 |tware wi|thout sp|
|000003f0| 65 63 69 66 69 63 20 70 | 72 69 6f 72 20 77 72 69 |ecific p|rior wri|
|00000400| 74 74 65 6e 20 70 65 72 | 6d 69 73 73 69 6f 6e 2e |tten per|mission.|
|00000410| 0d 20 2a 20 54 48 49 53 | 20 53 4f 46 54 57 41 52 |. * THIS| SOFTWAR|
|00000420| 45 20 49 53 20 50 52 4f | 56 49 44 45 44 20 41 53 |E IS PRO|VIDED AS|
|00000430| 20 49 53 27 27 20 41 4e | 44 20 57 49 54 48 4f 55 | IS'' AN|D WITHOU|
|00000440| 54 20 41 4e 59 20 45 58 | 50 52 45 53 53 20 4f 52 |T ANY EX|PRESS OR|
|00000450| 20 49 4d 50 4c 49 45 44 | 0d 20 2a 20 57 41 52 52 | IMPLIED|. * WARR|
|00000460| 41 4e 54 49 45 53 2c 20 | 49 4e 43 4c 55 44 49 4e |ANTIES, |INCLUDIN|
|00000470| 47 2c 20 57 49 54 48 4f | 55 54 20 4c 49 4d 49 54 |G, WITHO|UT LIMIT|
|00000480| 41 54 49 4f 4e 2c 20 54 | 48 45 20 49 4d 50 4c 49 |ATION, T|HE IMPLI|
|00000490| 45 44 20 57 41 52 52 41 | 4e 54 49 45 53 20 4f 46 |ED WARRA|NTIES OF|
|000004a0| 0d 20 2a 20 4d 45 52 43 | 48 41 4e 54 41 42 49 4c |. * MERC|HANTABIL|
|000004b0| 49 54 59 20 41 4e 44 20 | 46 49 54 4e 45 53 53 20 |ITY AND |FITNESS |
|000004c0| 46 4f 52 20 41 20 50 41 | 52 54 49 43 55 4c 41 52 |FOR A PA|RTICULAR|
|000004d0| 20 50 55 52 50 4f 53 45 | 2e 0d 20 2a 0d 20 2a 09 | PURPOSE|.. *. *.|
|000004e0| 40 28 23 29 69 6f 63 74 | 6c 5f 63 6f 6d 70 61 74 |@(#)ioct|l_compat|
|000004f0| 2e 68 09 37 2e 33 20 28 | 42 65 72 6b 65 6c 65 79 |.h.7.3 (|Berkeley|
|00000500| 29 20 35 2f 31 36 2f 39 | 30 0d 20 2a 2f 0d 0d 23 |) 5/16/9|0. */..#|
|00000510| 69 66 64 65 66 20 4b 45 | 52 4e 45 4c 0d 23 69 6e |ifdef KE|RNEL.#in|
|00000520| 63 6c 75 64 65 20 22 74 | 74 79 63 68 61 72 73 2e |clude "t|tychars.|
|00000530| 68 22 0d 23 69 6e 63 6c | 75 64 65 20 22 74 74 79 |h".#incl|ude "tty|
|00000540| 64 65 76 2e 68 22 0d 23 | 65 6c 73 65 0d 23 69 6e |dev.h".#|else.#in|
|00000550| 63 6c 75 64 65 20 3c 73 | 79 73 2f 74 74 79 63 68 |clude <s|ys/ttych|
|00000560| 61 72 73 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |ars.h>.#|include |
|00000570| 3c 73 79 73 2f 74 74 79 | 64 65 76 2e 68 3e 0d 23 |<sys/tty|dev.h>.#|
|00000580| 65 6e 64 69 66 0d 0d 73 | 74 72 75 63 74 20 74 63 |endif..s|truct tc|
|00000590| 68 61 72 73 20 7b 0d 09 | 63 68 61 72 09 74 5f 69 |hars {..|char.t_i|
|000005a0| 6e 74 72 63 3b 09 2f 2a | 20 69 6e 74 65 72 72 75 |ntrc;./*| interru|
|000005b0| 70 74 20 2a 2f 0d 09 63 | 68 61 72 09 74 5f 71 75 |pt */..c|har.t_qu|
|000005c0| 69 74 63 3b 09 2f 2a 20 | 71 75 69 74 20 2a 2f 0d |itc;./* |quit */.|
|000005d0| 09 63 68 61 72 09 74 5f | 73 74 61 72 74 63 3b 09 |.char.t_|startc;.|
|000005e0| 2f 2a 20 73 74 61 72 74 | 20 6f 75 74 70 75 74 20 |/* start| output |
|000005f0| 2a 2f 0d 09 63 68 61 72 | 09 74 5f 73 74 6f 70 63 |*/..char|.t_stopc|
|00000600| 3b 09 2f 2a 20 73 74 6f | 70 20 6f 75 74 70 75 74 |;./* sto|p output|
|00000610| 20 2a 2f 0d 09 63 68 61 | 72 09 74 5f 65 6f 66 63 | */..cha|r.t_eofc|
|00000620| 3b 09 09 2f 2a 20 65 6e | 64 2d 6f 66 2d 66 69 6c |;../* en|d-of-fil|
|00000630| 65 20 2a 2f 0d 09 63 68 | 61 72 09 74 5f 62 72 6b |e */..ch|ar.t_brk|
|00000640| 63 3b 09 09 2f 2a 20 69 | 6e 70 75 74 20 64 65 6c |c;../* i|nput del|
|00000650| 69 6d 69 74 65 72 20 28 | 6c 69 6b 65 20 6e 6c 29 |imiter (|like nl)|
|00000660| 20 2a 2f 0d 7d 3b 0d 0d | 73 74 72 75 63 74 20 6c | */.};..|struct l|
|00000670| 74 63 68 61 72 73 20 7b | 0d 09 63 68 61 72 09 74 |tchars {|..char.t|
|00000680| 5f 73 75 73 70 63 3b 09 | 2f 2a 20 73 74 6f 70 20 |_suspc;.|/* stop |
|00000690| 70 72 6f 63 65 73 73 20 | 73 69 67 6e 61 6c 20 2a |process |signal *|
|000006a0| 2f 0d 09 63 68 61 72 09 | 74 5f 64 73 75 73 70 63 |/..char.|t_dsuspc|
|000006b0| 3b 09 2f 2a 20 64 65 6c | 61 79 65 64 20 73 74 6f |;./* del|ayed sto|
|000006c0| 70 20 70 72 6f 63 65 73 | 73 20 73 69 67 6e 61 6c |p proces|s signal|
|000006d0| 20 2a 2f 0d 09 63 68 61 | 72 09 74 5f 72 70 72 6e | */..cha|r.t_rprn|
|000006e0| 74 63 3b 09 2f 2a 20 72 | 65 70 72 69 6e 74 20 6c |tc;./* r|eprint l|
|000006f0| 69 6e 65 20 2a 2f 0d 09 | 63 68 61 72 09 74 5f 66 |ine */..|char.t_f|
|00000700| 6c 75 73 68 63 3b 09 2f | 2a 20 66 6c 75 73 68 20 |lushc;./|* flush |
|00000710| 6f 75 74 70 75 74 20 28 | 74 6f 67 67 6c 65 73 29 |output (|toggles)|
|00000720| 20 2a 2f 0d 09 63 68 61 | 72 09 74 5f 77 65 72 61 | */..cha|r.t_wera|
|00000730| 73 63 3b 09 2f 2a 20 77 | 6f 72 64 20 65 72 61 73 |sc;./* w|ord eras|
|00000740| 65 20 2a 2f 0d 09 63 68 | 61 72 09 74 5f 6c 6e 65 |e */..ch|ar.t_lne|
|00000750| 78 74 63 3b 09 2f 2a 20 | 6c 69 74 65 72 61 6c 20 |xtc;./* |literal |
|00000760| 6e 65 78 74 20 63 68 61 | 72 61 63 74 65 72 20 2a |next cha|racter *|
|00000770| 2f 0d 7d 3b 0d 0d 2f 2a | 0d 20 2a 20 53 74 72 75 |/.};../*|. * Stru|
|00000780| 63 74 75 72 65 20 66 6f | 72 20 54 49 4f 43 47 45 |cture fo|r TIOCGE|
|00000790| 54 50 20 61 6e 64 20 54 | 49 4f 43 53 45 54 50 20 |TP and T|IOCSETP |
|000007a0| 69 6f 63 74 6c 73 2e 0d | 20 2a 2f 0d 23 69 66 6e |ioctls..| */.#ifn|
|000007b0| 64 65 66 20 5f 53 47 54 | 54 59 42 5f 0d 23 64 65 |def _SGT|TYB_.#de|
|000007c0| 66 69 6e 65 09 5f 53 47 | 54 54 59 42 5f 0d 73 74 |fine._SG|TTYB_.st|
|000007d0| 72 75 63 74 20 73 67 74 | 74 79 62 20 7b 0d 09 63 |ruct sgt|tyb {..c|
|000007e0| 68 61 72 09 73 67 5f 69 | 73 70 65 65 64 3b 09 09 |har.sg_i|speed;..|
|000007f0| 2f 2a 20 69 6e 70 75 74 | 20 73 70 65 65 64 20 2a |/* input| speed *|
|00000800| 2f 0d 09 63 68 61 72 09 | 73 67 5f 6f 73 70 65 65 |/..char.|sg_ospee|
|00000810| 64 3b 09 09 2f 2a 20 6f | 75 74 70 75 74 20 73 70 |d;../* o|utput sp|
|00000820| 65 65 64 20 2a 2f 0d 09 | 63 68 61 72 09 73 67 5f |eed */..|char.sg_|
|00000830| 65 72 61 73 65 3b 09 09 | 2f 2a 20 65 72 61 73 65 |erase;..|/* erase|
|00000840| 20 63 68 61 72 61 63 74 | 65 72 20 2a 2f 0d 09 63 | charact|er */..c|
|00000850| 68 61 72 09 73 67 5f 6b | 69 6c 6c 3b 09 09 2f 2a |har.sg_k|ill;../*|
|00000860| 20 6b 69 6c 6c 20 63 68 | 61 72 61 63 74 65 72 20 | kill ch|aracter |
|00000870| 2a 2f 0d 09 73 68 6f 72 | 74 09 73 67 5f 66 6c 61 |*/..shor|t.sg_fla|
|00000880| 67 73 3b 09 09 2f 2a 20 | 6d 6f 64 65 20 66 6c 61 |gs;../* |mode fla|
|00000890| 67 73 20 2a 2f 0d 7d 3b | 0d 23 65 6e 64 69 66 0d |gs */.};|.#endif.|
|000008a0| 0d 23 69 66 64 65 66 20 | 55 53 45 5f 4f 4c 44 5f |.#ifdef |USE_OLD_|
|000008b0| 54 54 59 0d 23 20 75 6e | 64 65 66 20 20 54 49 4f |TTY.# un|def TIO|
|000008c0| 43 47 45 54 44 0d 23 20 | 64 65 66 69 6e 65 20 54 |CGETD.# |define T|
|000008d0| 49 4f 43 47 45 54 44 09 | 5f 49 4f 52 28 27 74 27 |IOCGETD.|_IOR('t'|
|000008e0| 2c 20 30 2c 20 69 6e 74 | 29 09 2f 2a 20 67 65 74 |, 0, int|)./* get|
|000008f0| 20 6c 69 6e 65 20 64 69 | 73 63 69 70 6c 69 6e 65 | line di|scipline|
|00000900| 20 2a 2f 0d 23 20 75 6e | 64 65 66 20 20 54 49 4f | */.# un|def TIO|
|00000910| 43 53 45 54 44 0d 23 20 | 64 65 66 69 6e 65 20 54 |CSETD.# |define T|
|00000920| 49 4f 43 53 45 54 44 09 | 5f 49 4f 57 28 27 74 27 |IOCSETD.|_IOW('t'|
|00000930| 2c 20 31 2c 20 69 6e 74 | 29 09 2f 2a 20 73 65 74 |, 1, int|)./* set|
|00000940| 20 6c 69 6e 65 20 64 69 | 73 63 69 70 6c 69 6e 65 | line di|scipline|
|00000950| 20 2a 2f 0d 23 65 6c 73 | 65 0d 23 20 64 65 66 69 | */.#els|e.# defi|
|00000960| 6e 65 20 4f 54 49 4f 43 | 47 45 54 44 09 5f 49 4f |ne OTIOC|GETD._IO|
|00000970| 52 28 27 74 27 2c 20 30 | 2c 20 69 6e 74 29 09 2f |R('t', 0|, int)./|
|00000980| 2a 20 67 65 74 20 6c 69 | 6e 65 20 64 69 73 63 69 |* get li|ne disci|
|00000990| 70 6c 69 6e 65 20 2a 2f | 0d 23 20 64 65 66 69 6e |pline */|.# defin|
|000009a0| 65 20 4f 54 49 4f 43 53 | 45 54 44 09 5f 49 4f 57 |e OTIOCS|ETD._IOW|
|000009b0| 28 27 74 27 2c 20 31 2c | 20 69 6e 74 29 09 2f 2a |('t', 1,| int)./*|
|000009c0| 20 73 65 74 20 6c 69 6e | 65 20 64 69 73 63 69 70 | set lin|e discip|
|000009d0| 6c 69 6e 65 20 2a 2f 0d | 23 65 6e 64 69 66 0d 23 |line */.|#endif.#|
|000009e0| 64 65 66 69 6e 65 09 54 | 49 4f 43 48 50 43 4c 09 |define.T|IOCHPCL.|
|000009f0| 5f 49 4f 28 27 74 27 2c | 20 32 29 09 09 2f 2a 20 |_IO('t',| 2)../* |
|00000a00| 68 61 6e 67 20 75 70 20 | 6f 6e 20 6c 61 73 74 20 |hang up |on last |
|00000a10| 63 6c 6f 73 65 20 2a 2f | 0d 23 64 65 66 69 6e 65 |close */|.#define|
|00000a20| 09 54 49 4f 43 47 45 54 | 50 09 5f 49 4f 52 28 27 |.TIOCGET|P._IOR('|
|00000a30| 74 27 2c 20 38 2c 73 74 | 72 75 63 74 20 73 67 74 |t', 8,st|ruct sgt|
|00000a40| 74 79 62 29 2f 2a 20 67 | 65 74 20 70 61 72 61 6d |tyb)/* g|et param|
|00000a50| 65 74 65 72 73 20 2d 2d | 20 67 74 74 79 20 2a 2f |eters --| gtty */|
|00000a60| 0d 23 64 65 66 69 6e 65 | 09 54 49 4f 43 53 45 54 |.#define|.TIOCSET|
|00000a70| 50 09 5f 49 4f 57 28 27 | 74 27 2c 20 39 2c 73 74 |P._IOW('|t', 9,st|
|00000a80| 72 75 63 74 20 73 67 74 | 74 79 62 29 2f 2a 20 73 |ruct sgt|tyb)/* s|
|00000a90| 65 74 20 70 61 72 61 6d | 65 74 65 72 73 20 2d 2d |et param|eters --|
|00000aa0| 20 73 74 74 79 20 2a 2f | 0d 23 64 65 66 69 6e 65 | stty */|.#define|
|00000ab0| 09 54 49 4f 43 53 45 54 | 4e 09 5f 49 4f 57 28 27 |.TIOCSET|N._IOW('|
|00000ac0| 74 27 2c 31 30 2c 73 74 | 72 75 63 74 20 73 67 74 |t',10,st|ruct sgt|
|00000ad0| 74 79 62 29 2f 2a 20 61 | 73 20 61 62 6f 76 65 2c |tyb)/* a|s above,|
|00000ae0| 20 62 75 74 20 6e 6f 20 | 66 6c 75 73 68 74 74 79 | but no |flushtty|
|00000af0| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 54 49 4f 43 53 |*/.#defi|ne.TIOCS|
|00000b00| 45 54 43 09 5f 49 4f 57 | 28 27 74 27 2c 31 37 2c |ETC._IOW|('t',17,|
|00000b10| 73 74 72 75 63 74 20 74 | 63 68 61 72 73 29 2f 2a |struct t|chars)/*|
|00000b20| 20 73 65 74 20 73 70 65 | 63 69 61 6c 20 63 68 61 | set spe|cial cha|
|00000b30| 72 61 63 74 65 72 73 20 | 2a 2f 0d 23 64 65 66 69 |racters |*/.#defi|
|00000b40| 6e 65 09 54 49 4f 43 47 | 45 54 43 09 5f 49 4f 52 |ne.TIOCG|ETC._IOR|
|00000b50| 28 27 74 27 2c 31 38 2c | 73 74 72 75 63 74 20 74 |('t',18,|struct t|
|00000b60| 63 68 61 72 73 29 2f 2a | 20 67 65 74 20 73 70 65 |chars)/*| get spe|
|00000b70| 63 69 61 6c 20 63 68 61 | 72 61 63 74 65 72 73 20 |cial cha|racters |
|00000b80| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 09 54 41 4e 44 |*/.#defi|ne..TAND|
|00000b90| 45 4d 09 09 30 78 30 30 | 30 30 30 30 30 31 09 2f |EM..0x00|000001./|
|00000ba0| 2a 20 73 65 6e 64 20 73 | 74 6f 70 63 20 6f 6e 20 |* send s|topc on |
|00000bb0| 6f 75 74 20 71 20 66 75 | 6c 6c 20 2a 2f 0d 23 64 |out q fu|ll */.#d|
|00000bc0| 65 66 69 6e 65 09 09 43 | 42 52 45 41 4b 09 09 30 |efine..C|BREAK..0|
|00000bd0| 78 30 30 30 30 30 30 30 | 32 09 2f 2a 20 68 61 6c |x0000000|2./* hal|
|00000be0| 66 2d 63 6f 6f 6b 65 64 | 20 6d 6f 64 65 20 2a 2f |f-cooked| mode */|
|00000bf0| 0d 23 64 65 66 69 6e 65 | 09 09 4c 43 41 53 45 09 |.#define|..LCASE.|
|00000c00| 09 30 78 30 30 30 30 30 | 30 30 34 09 2f 2a 20 73 |.0x00000|004./* s|
|00000c10| 69 6d 75 6c 61 74 65 20 | 6c 6f 77 65 72 20 63 61 |imulate |lower ca|
|00000c20| 73 65 20 2a 2f 0d 23 64 | 65 66 69 6e 65 09 09 45 |se */.#d|efine..E|
|00000c30| 43 48 4f 09 09 30 78 30 | 30 30 30 30 30 30 38 09 |CHO..0x0|0000008.|
|00000c40| 2f 2a 20 65 63 68 6f 20 | 69 6e 70 75 74 20 2a 2f |/* echo |input */|
|00000c50| 0d 23 64 65 66 69 6e 65 | 09 09 43 52 4d 4f 44 09 |.#define|..CRMOD.|
|00000c60| 09 30 78 30 30 30 30 30 | 30 31 30 09 2f 2a 20 6d |.0x00000|010./* m|
|00000c70| 61 70 20 5c 72 20 74 6f | 20 5c 72 5c 6e 20 6f 6e |ap \r to| \r\n on|
|00000c80| 20 6f 75 74 70 75 74 20 | 2a 2f 0d 23 64 65 66 69 | output |*/.#defi|
|00000c90| 6e 65 09 09 52 41 57 09 | 09 30 78 30 30 30 30 30 |ne..RAW.|.0x00000|
|00000ca0| 30 32 30 09 2f 2a 20 6e | 6f 20 69 2f 6f 20 70 72 |020./* n|o i/o pr|
|00000cb0| 6f 63 65 73 73 69 6e 67 | 20 2a 2f 0d 23 64 65 66 |ocessing| */.#def|
|00000cc0| 69 6e 65 09 09 4f 44 44 | 50 09 09 30 78 30 30 30 |ine..ODD|P..0x000|
|00000cd0| 30 30 30 34 30 09 2f 2a | 20 67 65 74 2f 73 65 6e |00040./*| get/sen|
|00000ce0| 64 20 6f 64 64 20 70 61 | 72 69 74 79 20 2a 2f 0d |d odd pa|rity */.|
|00000cf0| 23 64 65 66 69 6e 65 09 | 09 45 56 45 4e 50 09 09 |#define.|.EVENP..|
|00000d00| 30 78 30 30 30 30 30 30 | 38 30 09 2f 2a 20 67 65 |0x000000|80./* ge|
|00000d10| 74 2f 73 65 6e 64 20 65 | 76 65 6e 20 70 61 72 69 |t/send e|ven pari|
|00000d20| 74 79 20 2a 2f 0d 23 64 | 65 66 69 6e 65 09 09 41 |ty */.#d|efine..A|
|00000d30| 4e 59 50 09 09 30 78 30 | 30 30 30 30 30 63 30 09 |NYP..0x0|00000c0.|
|00000d40| 2f 2a 20 67 65 74 20 61 | 6e 79 20 70 61 72 69 74 |/* get a|ny parit|
|00000d50| 79 2f 73 65 6e 64 20 6e | 6f 6e 65 20 2a 2f 0d 23 |y/send n|one */.#|
|00000d60| 64 65 66 69 6e 65 09 09 | 4e 4c 44 45 4c 41 59 09 |define..|NLDELAY.|
|00000d70| 09 30 78 30 30 30 30 30 | 33 30 30 09 2f 2a 20 5c |.0x00000|300./* \|
|00000d80| 6e 20 64 65 6c 61 79 20 | 2a 2f 0d 23 64 65 66 69 |n delay |*/.#defi|
|00000d90| 6e 65 09 09 09 4e 4c 30 | 09 30 78 30 30 30 30 30 |ne...NL0|.0x00000|
|00000da0| 30 30 30 0d 23 64 65 66 | 69 6e 65 09 09 09 4e 4c |000.#def|ine...NL|
|00000db0| 31 09 30 78 30 30 30 30 | 30 31 30 30 09 2f 2a 20 |1.0x0000|0100./* |
|00000dc0| 74 74 79 20 33 37 20 2a | 2f 0d 23 64 65 66 69 6e |tty 37 *|/.#defin|
|00000dd0| 65 09 09 09 4e 4c 32 09 | 30 78 30 30 30 30 30 32 |e...NL2.|0x000002|
|00000de0| 30 30 09 2f 2a 20 76 74 | 30 35 20 2a 2f 0d 23 64 |00./* vt|05 */.#d|
|00000df0| 65 66 69 6e 65 09 09 09 | 4e 4c 33 09 30 78 30 30 |efine...|NL3.0x00|
|00000e00| 30 30 30 33 30 30 0d 23 | 64 65 66 69 6e 65 09 09 |000300.#|define..|
|00000e10| 54 42 44 45 4c 41 59 09 | 09 30 78 30 30 30 30 30 |TBDELAY.|.0x00000|
|00000e20| 63 30 30 09 2f 2a 20 68 | 6f 72 69 7a 6f 6e 74 61 |c00./* h|orizonta|
|00000e30| 6c 20 74 61 62 20 64 65 | 6c 61 79 20 2a 2f 0d 23 |l tab de|lay */.#|
|00000e40| 64 65 66 69 6e 65 09 09 | 09 54 41 42 30 09 30 78 |define..|.TAB0.0x|
|00000e50| 30 30 30 30 30 30 30 30 | 0d 23 64 65 66 69 6e 65 |00000000|.#define|
|00000e60| 09 09 09 54 41 42 31 09 | 30 78 30 30 30 30 30 34 |...TAB1.|0x000004|
|00000e70| 30 30 09 2f 2a 20 74 74 | 79 20 33 37 20 2a 2f 0d |00./* tt|y 37 */.|
|00000e80| 23 64 65 66 69 6e 65 09 | 09 09 54 41 42 32 09 30 |#define.|..TAB2.0|
|00000e90| 78 30 30 30 30 30 38 30 | 30 0d 23 64 65 66 69 6e |x0000080|0.#defin|
|00000ea0| 65 09 09 58 54 41 42 53 | 09 09 30 78 30 30 30 30 |e..XTABS|..0x0000|
|00000eb0| 30 63 30 30 09 2f 2a 20 | 65 78 70 61 6e 64 20 74 |0c00./* |expand t|
|00000ec0| 61 62 73 20 6f 6e 20 6f | 75 74 70 75 74 20 2a 2f |abs on o|utput */|
|00000ed0| 0d 23 64 65 66 69 6e 65 | 09 09 43 52 44 45 4c 41 |.#define|..CRDELA|
|00000ee0| 59 09 09 30 78 30 30 30 | 30 33 30 30 30 09 2f 2a |Y..0x000|03000./*|
|00000ef0| 20 5c 72 20 64 65 6c 61 | 79 20 2a 2f 0d 23 64 65 | \r dela|y */.#de|
|00000f00| 66 69 6e 65 09 09 09 43 | 52 30 09 30 78 30 30 30 |fine...C|R0.0x000|
|00000f10| 30 30 30 30 30 0d 23 64 | 65 66 69 6e 65 09 09 09 |00000.#d|efine...|
|00000f20| 43 52 31 09 30 78 30 30 | 30 30 31 30 30 30 09 2f |CR1.0x00|001000./|
|00000f30| 2a 20 74 6e 20 33 30 30 | 20 2a 2f 0d 23 64 65 66 |* tn 300| */.#def|
|00000f40| 69 6e 65 09 09 09 43 52 | 32 09 30 78 30 30 30 30 |ine...CR|2.0x0000|
|00000f50| 32 30 30 30 09 2f 2a 20 | 74 74 79 20 33 37 20 2a |2000./* |tty 37 *|
|00000f60| 2f 0d 23 64 65 66 69 6e | 65 09 09 09 43 52 33 09 |/.#defin|e...CR3.|
|00000f70| 30 78 30 30 30 30 33 30 | 30 30 09 2f 2a 20 63 6f |0x000030|00./* co|
|00000f80| 6e 63 65 70 74 20 31 30 | 30 20 2a 2f 0d 23 64 65 |ncept 10|0 */.#de|
|00000f90| 66 69 6e 65 09 09 56 54 | 44 45 4c 41 59 09 09 30 |fine..VT|DELAY..0|
|00000fa0| 78 30 30 30 30 34 30 30 | 30 09 2f 2a 20 76 65 72 |x0000400|0./* ver|
|00000fb0| 74 69 63 61 6c 20 74 61 | 62 20 64 65 6c 61 79 20 |tical ta|b delay |
|00000fc0| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 09 09 46 46 30 |*/.#defi|ne...FF0|
|00000fd0| 09 30 78 30 30 30 30 30 | 30 30 30 0d 23 64 65 66 |.0x00000|000.#def|
|00000fe0| 69 6e 65 09 09 09 46 46 | 31 09 30 78 30 30 30 30 |ine...FF|1.0x0000|
|00000ff0| 34 30 30 30 09 2f 2a 20 | 74 74 79 20 33 37 20 2a |4000./* |tty 37 *|
|00001000| 2f 0d 23 64 65 66 69 6e | 65 09 09 42 53 44 45 4c |/.#defin|e..BSDEL|
|00001010| 41 59 09 09 30 78 30 30 | 30 30 38 30 30 30 09 2f |AY..0x00|008000./|
|00001020| 2a 20 5c 62 20 64 65 6c | 61 79 20 2a 2f 0d 23 64 |* \b del|ay */.#d|
|00001030| 65 66 69 6e 65 09 09 09 | 42 53 30 09 30 78 30 30 |efine...|BS0.0x00|
|00001040| 30 30 30 30 30 30 0d 23 | 64 65 66 69 6e 65 09 09 |000000.#|define..|
|00001050| 09 42 53 31 09 30 78 30 | 30 30 30 38 30 30 30 0d |.BS1.0x0|0008000.|
|00001060| 23 64 65 66 69 6e 65 09 | 09 41 4c 4c 44 45 4c 41 |#define.|.ALLDELA|
|00001070| 59 09 28 4e 4c 44 45 4c | 41 59 7c 54 42 44 45 4c |Y.(NLDEL|AY|TBDEL|
|00001080| 41 59 7c 43 52 44 45 4c | 41 59 7c 56 54 44 45 4c |AY|CRDEL|AY|VTDEL|
|00001090| 41 59 7c 42 53 44 45 4c | 41 59 29 0d 23 64 65 66 |AY|BSDEL|AY).#def|
|000010a0| 69 6e 65 09 09 43 52 54 | 42 53 09 09 30 78 30 30 |ine..CRT|BS..0x00|
|000010b0| 30 31 30 30 30 30 09 2f | 2a 20 64 6f 20 62 61 63 |010000./|* do bac|
|000010c0| 6b 73 70 61 63 69 6e 67 | 20 66 6f 72 20 63 72 74 |kspacing| for crt|
|000010d0| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 09 09 50 52 54 | */.#def|ine..PRT|
|000010e0| 45 52 41 09 09 30 78 30 | 30 30 32 30 30 30 30 09 |ERA..0x0|0020000.|
|000010f0| 2f 2a 20 5c 20 2e 2e 2e | 20 2f 20 65 72 61 73 65 |/* \ ...| / erase|
|00001100| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 09 09 43 52 54 | */.#def|ine..CRT|
|00001110| 45 52 41 09 09 30 78 30 | 30 30 34 30 30 30 30 09 |ERA..0x0|0040000.|
|00001120| 2f 2a 20 22 20 5c 62 20 | 22 20 74 6f 20 77 69 70 |/* " \b |" to wip|
|00001130| 65 20 6f 75 74 20 63 68 | 61 72 20 2a 2f 0d 23 64 |e out ch|ar */.#d|
|00001140| 65 66 69 6e 65 09 09 54 | 49 4c 44 45 09 09 30 78 |efine..T|ILDE..0x|
|00001150| 30 30 30 38 30 30 30 30 | 09 2f 2a 20 68 61 7a 65 |00080000|./* haze|
|00001160| 6c 74 69 6e 65 20 74 69 | 6c 64 65 20 6b 6c 75 64 |ltine ti|lde klud|
|00001170| 67 65 20 2a 2f 0d 23 64 | 65 66 69 6e 65 09 09 4d |ge */.#d|efine..M|
|00001180| 44 4d 42 55 46 09 09 30 | 78 30 30 31 30 30 30 30 |DMBUF..0|x0010000|
|00001190| 30 09 2f 2a 73 74 61 72 | 74 2f 73 74 6f 70 20 6f |0./*star|t/stop o|
|000011a0| 75 74 70 75 74 20 6f 6e | 20 63 61 72 72 69 65 72 |utput on| carrier|
|000011b0| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 09 4c 49 54 4f |*/.#defi|ne..LITO|
|000011c0| 55 54 09 09 30 78 30 30 | 32 30 30 30 30 30 09 2f |UT..0x00|200000./|
|000011d0| 2a 20 6c 69 74 65 72 61 | 6c 20 6f 75 74 70 75 74 |* litera|l output|
|000011e0| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 09 09 54 4f 53 | */.#def|ine..TOS|
|000011f0| 54 4f 50 09 09 30 78 30 | 30 34 30 30 30 30 30 09 |TOP..0x0|0400000.|
|00001200| 2f 2a 53 49 47 53 54 4f | 50 20 6f 6e 20 62 61 63 |/*SIGSTO|P on bac|
|00001210| 6b 67 72 6f 75 6e 64 20 | 6f 75 74 70 75 74 2a 2f |kground |output*/|
|00001220| 0d 23 64 65 66 69 6e 65 | 09 09 46 4c 55 53 48 4f |.#define|..FLUSHO|
|00001230| 09 09 30 78 30 30 38 30 | 30 30 30 30 09 2f 2a 20 |..0x0080|0000./* |
|00001240| 66 6c 75 73 68 20 6f 75 | 74 70 75 74 20 74 6f 20 |flush ou|tput to |
|00001250| 74 65 72 6d 69 6e 61 6c | 20 2a 2f 0d 23 64 65 66 |terminal| */.#def|
|00001260| 69 6e 65 09 09 4e 4f 48 | 41 4e 47 09 09 30 78 30 |ine..NOH|ANG..0x0|
|00001270| 31 30 30 30 30 30 30 09 | 2f 2a 20 28 6e 6f 2d 6f |1000000.|/* (no-o|
|00001280| 70 29 20 77 61 73 20 6e | 6f 20 53 49 47 48 55 50 |p) was n|o SIGHUP|
|00001290| 20 6f 6e 20 63 61 72 72 | 69 65 72 20 64 72 6f 70 | on carr|ier drop|
|000012a0| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 09 09 4c 30 30 | */.#def|ine..L00|
|000012b0| 31 30 30 30 09 09 30 78 | 30 32 30 30 30 30 30 30 |1000..0x|02000000|
|000012c0| 0d 23 64 65 66 69 6e 65 | 09 09 43 52 54 4b 49 4c |.#define|..CRTKIL|
|000012d0| 09 09 30 78 30 34 30 30 | 30 30 30 30 09 2f 2a 20 |..0x0400|0000./* |
|000012e0| 6b 69 6c 6c 20 6c 69 6e | 65 20 77 69 74 68 20 22 |kill lin|e with "|
|000012f0| 20 5c 62 20 22 20 2a 2f | 0d 23 64 65 66 69 6e 65 | \b " */|.#define|
|00001300| 09 09 50 41 53 53 38 09 | 09 30 78 30 38 30 30 30 |..PASS8.|.0x08000|
|00001310| 30 30 30 0d 23 64 65 66 | 69 6e 65 09 09 43 54 4c |000.#def|ine..CTL|
|00001320| 45 43 48 09 09 30 78 31 | 30 30 30 30 30 30 30 09 |ECH..0x1|0000000.|
|00001330| 2f 2a 20 65 63 68 6f 20 | 63 6f 6e 74 72 6f 6c 20 |/* echo |control |
|00001340| 63 68 61 72 73 20 61 73 | 20 5e 58 20 2a 2f 0d 23 |chars as| ^X */.#|
|00001350| 64 65 66 69 6e 65 09 09 | 50 45 4e 44 49 4e 09 09 |define..|PENDIN..|
|00001360| 30 78 32 30 30 30 30 30 | 30 30 09 2f 2a 20 74 70 |0x200000|00./* tp|
|00001370| 2d 3e 74 5f 72 61 77 71 | 20 6e 65 65 64 73 20 72 |->t_rawq| needs r|
|00001380| 65 72 65 61 64 20 2a 2f | 0d 23 64 65 66 69 6e 65 |eread */|.#define|
|00001390| 09 09 44 45 43 43 54 51 | 09 09 30 78 34 30 30 30 |..DECCTQ|..0x4000|
|000013a0| 30 30 30 30 09 2f 2a 20 | 6f 6e 6c 79 20 5e 51 20 |0000./* |only ^Q |
|000013b0| 73 74 61 72 74 73 20 61 | 66 74 65 72 20 5e 53 20 |starts a|fter ^S |
|000013c0| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 09 4e 4f 46 4c |*/.#defi|ne..NOFL|
|000013d0| 53 48 09 09 30 78 38 30 | 30 30 30 30 30 30 09 2f |SH..0x80|000000./|
|000013e0| 2a 20 6e 6f 20 6f 75 74 | 70 75 74 20 66 6c 75 73 |* no out|put flus|
|000013f0| 68 20 6f 6e 20 73 69 67 | 6e 61 6c 20 2a 2f 0d 23 |h on sig|nal */.#|
|00001400| 64 65 66 69 6e 65 09 54 | 49 4f 43 4c 42 49 53 09 |define.T|IOCLBIS.|
|00001410| 5f 49 4f 57 28 27 74 27 | 2c 20 31 32 37 2c 20 69 |_IOW('t'|, 127, i|
|00001420| 6e 74 29 09 2f 2a 20 62 | 69 73 20 6c 6f 63 61 6c |nt)./* b|is local|
|00001430| 20 6d 6f 64 65 20 62 69 | 74 73 20 2a 2f 0d 23 64 | mode bi|ts */.#d|
|00001440| 65 66 69 6e 65 09 54 49 | 4f 43 4c 42 49 43 09 5f |efine.TI|OCLBIC._|
|00001450| 49 4f 57 28 27 74 27 2c | 20 31 32 36 2c 20 69 6e |IOW('t',| 126, in|
|00001460| 74 29 09 2f 2a 20 62 69 | 63 20 6c 6f 63 61 6c 20 |t)./* bi|c local |
|00001470| 6d 6f 64 65 20 62 69 74 | 73 20 2a 2f 0d 23 64 65 |mode bit|s */.#de|
|00001480| 66 69 6e 65 09 54 49 4f | 43 4c 53 45 54 09 5f 49 |fine.TIO|CLSET._I|
|00001490| 4f 57 28 27 74 27 2c 20 | 31 32 35 2c 20 69 6e 74 |OW('t', |125, int|
|000014a0| 29 09 2f 2a 20 73 65 74 | 20 65 6e 74 69 72 65 20 |)./* set| entire |
|000014b0| 6c 6f 63 61 6c 20 6d 6f | 64 65 20 77 6f 72 64 20 |local mo|de word |
|000014c0| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 54 49 4f 43 4c |*/.#defi|ne.TIOCL|
|000014d0| 47 45 54 09 5f 49 4f 52 | 28 27 74 27 2c 20 31 32 |GET._IOR|('t', 12|
|000014e0| 34 2c 20 69 6e 74 29 09 | 2f 2a 20 67 65 74 20 6c |4, int).|/* get l|
|000014f0| 6f 63 61 6c 20 6d 6f 64 | 65 73 20 2a 2f 0d 23 64 |ocal mod|es */.#d|
|00001500| 65 66 69 6e 65 09 09 4c | 43 52 54 42 53 09 09 28 |efine..L|CRTBS..(|
|00001510| 43 52 54 42 53 3e 3e 31 | 36 29 0d 23 64 65 66 69 |CRTBS>>1|6).#defi|
|00001520| 6e 65 09 09 4c 50 52 54 | 45 52 41 09 09 28 50 52 |ne..LPRT|ERA..(PR|
|00001530| 54 45 52 41 3e 3e 31 36 | 29 0d 23 64 65 66 69 6e |TERA>>16|).#defin|
|00001540| 65 09 09 4c 43 52 54 45 | 52 41 09 09 28 43 52 54 |e..LCRTE|RA..(CRT|
|00001550| 45 52 41 3e 3e 31 36 29 | 0d 23 64 65 66 69 6e 65 |ERA>>16)|.#define|
|00001560| 09 09 4c 54 49 4c 44 45 | 09 09 28 54 49 4c 44 45 |..LTILDE|..(TILDE|
|00001570| 3e 3e 31 36 29 0d 23 64 | 65 66 69 6e 65 09 09 4c |>>16).#d|efine..L|
|00001580| 4d 44 4d 42 55 46 09 09 | 28 4d 44 4d 42 55 46 3e |MDMBUF..|(MDMBUF>|
|00001590| 3e 31 36 29 0d 23 64 65 | 66 69 6e 65 09 09 4c 4c |>16).#de|fine..LL|
|000015a0| 49 54 4f 55 54 09 09 28 | 4c 49 54 4f 55 54 3e 3e |ITOUT..(|LITOUT>>|
|000015b0| 31 36 29 0d 23 64 65 66 | 69 6e 65 09 09 4c 54 4f |16).#def|ine..LTO|
|000015c0| 53 54 4f 50 09 09 28 54 | 4f 53 54 4f 50 3e 3e 31 |STOP..(T|OSTOP>>1|
|000015d0| 36 29 0d 23 64 65 66 69 | 6e 65 09 09 4c 46 4c 55 |6).#defi|ne..LFLU|
|000015e0| 53 48 4f 09 09 28 46 4c | 55 53 48 4f 3e 3e 31 36 |SHO..(FL|USHO>>16|
|000015f0| 29 0d 23 64 65 66 69 6e | 65 09 09 4c 4e 4f 48 41 |).#defin|e..LNOHA|
|00001600| 4e 47 09 09 28 4e 4f 48 | 41 4e 47 3e 3e 31 36 29 |NG..(NOH|ANG>>16)|
|00001610| 0d 23 64 65 66 69 6e 65 | 09 09 4c 43 52 54 4b 49 |.#define|..LCRTKI|
|00001620| 4c 09 09 28 43 52 54 4b | 49 4c 3e 3e 31 36 29 0d |L..(CRTK|IL>>16).|
|00001630| 23 64 65 66 69 6e 65 09 | 09 4c 50 41 53 53 38 09 |#define.|.LPASS8.|
|00001640| 09 28 50 41 53 53 38 3e | 3e 31 36 29 0d 23 64 65 |.(PASS8>|>16).#de|
|00001650| 66 69 6e 65 09 09 4c 43 | 54 4c 45 43 48 09 09 28 |fine..LC|TLECH..(|
|00001660| 43 54 4c 45 43 48 3e 3e | 31 36 29 0d 23 64 65 66 |CTLECH>>|16).#def|
|00001670| 69 6e 65 09 09 4c 50 45 | 4e 44 49 4e 09 09 28 50 |ine..LPE|NDIN..(P|
|00001680| 45 4e 44 49 4e 3e 3e 31 | 36 29 0d 23 64 65 66 69 |ENDIN>>1|6).#defi|
|00001690| 6e 65 09 09 4c 44 45 43 | 43 54 51 09 09 28 44 45 |ne..LDEC|CTQ..(DE|
|000016a0| 43 43 54 51 3e 3e 31 36 | 29 0d 23 64 65 66 69 6e |CCTQ>>16|).#defin|
|000016b0| 65 09 09 4c 4e 4f 46 4c | 53 48 09 09 28 4e 4f 46 |e..LNOFL|SH..(NOF|
|000016c0| 4c 53 48 3e 3e 31 36 29 | 0d 23 64 65 66 69 6e 65 |LSH>>16)|.#define|
|000016d0| 09 54 49 4f 43 53 4c 54 | 43 09 5f 49 4f 57 28 27 |.TIOCSLT|C._IOW('|
|000016e0| 74 27 2c 31 31 37 2c 73 | 74 72 75 63 74 20 6c 74 |t',117,s|truct lt|
|000016f0| 63 68 61 72 73 29 2f 2a | 20 73 65 74 20 6c 6f 63 |chars)/*| set loc|
|00001700| 61 6c 20 73 70 65 63 69 | 61 6c 20 63 68 61 72 73 |al speci|al chars|
|00001710| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 54 49 4f 43 47 |*/.#defi|ne.TIOCG|
|00001720| 4c 54 43 09 5f 49 4f 52 | 28 27 74 27 2c 31 31 36 |LTC._IOR|('t',116|
|00001730| 2c 73 74 72 75 63 74 20 | 6c 74 63 68 61 72 73 29 |,struct |ltchars)|
|00001740| 2f 2a 20 67 65 74 20 6c | 6f 63 61 6c 20 73 70 65 |/* get l|ocal spe|
|00001750| 63 69 61 6c 20 63 68 61 | 72 73 2a 2f 0d 23 64 65 |cial cha|rs*/.#de|
|00001760| 66 69 6e 65 20 4f 54 49 | 4f 43 43 4f 4e 53 09 5f |fine OTI|OCCONS._|
|00001770| 49 4f 28 27 74 27 2c 20 | 39 38 29 09 2f 2a 20 66 |IO('t', |98)./* f|
|00001780| 6f 72 20 68 70 33 30 30 | 20 2d 2d 20 73 61 6e 73 |or hp300| -- sans|
|00001790| 20 69 6e 74 20 61 72 67 | 20 2a 2f 0d 23 64 65 66 | int arg| */.#def|
|000017a0| 69 6e 65 09 4f 54 54 59 | 44 49 53 43 09 30 0d 23 |ine.OTTY|DISC.0.#|
|000017b0| 64 65 66 69 6e 65 09 4e | 45 54 4c 44 49 53 43 09 |define.N|ETLDISC.|
|000017c0| 31 0d 23 64 65 66 69 6e | 65 09 4e 54 54 59 44 49 |1.#defin|e.NTTYDI|
|000017d0| 53 43 09 32 0d 00 00 00 | 00 00 00 00 00 00 00 00 |SC.2....|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 12 73 79 73 2f 69 6f 63 | 74 6c 5f 63 6f 6d 70 61 |.sys/ioc|tl_compa|
|00001840| 74 2e 68 69 02 00 00 00 | 54 45 58 54 4d 50 53 20 |t.hi....|TEXTMPS |
|00001850| 00 00 54 45 58 54 4d 50 | 53 20 00 00 ff ff ff ff |..TEXTMP|S ......|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 a4 87 7f b0 00 00 | 17 55 00 00 01 ac 00 00 |........|.U......|
|00001880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 9f 00 14 |...H..Mo|naco....|
|00001910| 00 9f 02 2e 01 ce 00 14 | 01 ce 02 2e 7f f5 80 0a |........|........|
|00001920| 7f f5 7f f5 00 00 00 06 | 00 04 00 8c 00 14 01 dd |........|........|
|00001930| 02 3d 00 8c 00 14 01 dd | 02 3d a5 1a 28 e3 00 00 |.=......|.=..(...|
|00001940| 00 00 00 00 00 00 00 00 | 0b 3e 01 00 00 00 00 1e |........|.>......|
|00001950| 00 8c 00 14 01 dd 02 3d | 00 8c 00 14 01 dd 02 3d |.......=|.......=|
|00001960| 00 00 0b 3e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...>....|........|
|00001970| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 51 |.....n..|.n...>.Q|
|00001980| 62 20 0b 06 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |b ......|.>..MPSR|
|00001990| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 03 f0 ff ff 00 00 00 4c | 00 57 96 8c 00 00 00 00 |.......L|.W......|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+